//载入车展等级
function loadCarshowLevel(sec){
	$.post(
		"index.php?c=Ajax&m=loadCarshowLevel",
		{
			
		},
		function(data){
			var html = '';
			$.each(data,function(i, n){
				if (n.key==sec) {
					html += '<option value="'+n.key+'" selected="selected">'+n.value+'</option>'+"\r\n";
				}else{
					html += '<option value="'+n.key+'">'+n.value+'</option>'+"\r\n";
				}
			});
			$("#level").html(html);
		},'json'
	);
}
//载入启程店出资总额下拉选择
function loadCarshowQiTotalType(inputId, sec){
	$.post(
		"index.php?c=Ajax&m=loadCarshowQiTotalType",
		{
			
		},
		function(data){
			var html = '';
			$.each(data,function(i, n){
				if (n.key==sec) {
					html += '<option value="'+n.key+'" selected="selected">'+n.value+'</option>'+"\r\n";
				}else{
					html += '<option value="'+n.key+'">'+n.value+'</option>'+"\r\n";
				}
			});
			$("#"+inputId).html(html);
		},'json'
	);
}
/**
 * 启辰点出资总额其它值显示
 * @param  {[type]} inputId     [description]
 * @param  {[type]} qiTotalType [description]
 * @return {[type]}             [description]
 */
function qiTotalTypeDisplay(inputId, qiTotalType){
	if (qiTotalType == -1) {
		$("#"+inputId).show();
		$("#"+inputId).attr('required',true);
	}else{
		$("#"+inputId).hide();
		$("#"+inputId).attr('required',false);
	}
}